import React, { forwardRef } from 'react'
import { ReactComponent as Dashboard } from './Dashboard.svg'
import { ReactComponent as DashboardHovered } from './DashboardHovered.svg'

export const DashboardIcon = forwardRef<
  SVGSVGElement & { className: any },
  React.PropsWithChildren<{ className?: string }>
>(({ className, ...props }, ref) => {
  return <Dashboard ref={ref} {...props} className={className || ''} />
})

export const DashboardHoveredIcon = forwardRef<
  SVGSVGElement & { className: any },
  React.PropsWithChildren<{ className?: string }>
>(({ className, ...props }, ref) => {
  return <DashboardHovered ref={ref} {...props} className={className || ''} />
})
